<template>
	<view>
		<form>
			<view v-if="pageType == 'add'" class="cu-form-group padding-top-sm">
				<view class="title">服务单号：</view>
				<input name="name" type="text" disabled v-model="form.no" />
			</view>
			<view  class="cu-form-group padding-top-sm">
				<view class="title">接单平台：</view>
				<picker mode="selector" :range="_receivePlatformDict" @change="">
					<view>{{}}</view>
				</picker>
			</view>
			<picker mode="region" :value="address" @change="regionChange"><view>选择地址</view></picker>
		</form>
	</view>
</template>

<script>
import { _receivePlatformDict, _serviceTypeDict, _serviceTypeDict2, _serviceOrderStatusDict } from '../../config/dict.js';
export default {
	onLoad(obj) {
		if (obj.type) {
			this.pageType = obj.type;
		}
	},
	data() {
		return {
			pageType: 'add',
			address: [],
			form: {
				no: ''
			}
		};
	},
	methods: {
		regionChange(e) {
			console.log(e);
		}
	}
};
</script>

<style></style>
